/*******************************************************************************
 * Copyright (c) 2009, 2014 IBM Corp.
 *
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * and Eclipse Distribution License v1.0 which accompany this distribution. 
 *
 * The Eclipse Public License is available at 
 *    http://www.eclipse.org/legal/epl-v10.html
 * and the Eclipse Distribution License is available at 
 *   http://www.eclipse.org/org/documents/edl-v10.php.
 *
 * Contributors:
 *    Dave Locke - initial API and implementation and/or initial documentation
 */
package org.eclipse.paho.client.mqttv3.logging;


import java.util.ResourceBundle;

public class LoggerFactory {

	public final static String MQTT_CLIENT_MSG_CAT = "org.eclipse.paho.client.mqttv3.internal.nls.logcat";
	public static Logger getLogger(String messageCatalogName, String loggerID) {

		Logger logger = new Logger() {
			@Override
			public void initialise(ResourceBundle messageCatalog, String loggerID, String resourceName) {

			}

			@Override
			public void setResourceName(String logContext) {

			}

			@Override
			public boolean isLoggable(int level) {
				return false;
			}

			@Override
			public void severe(String sourceClass, String sourceMethod, String msg) {

			}

			@Override
			public void severe(String sourceClass, String sourceMethod, String msg, Object[] inserts) {

			}

			@Override
			public void severe(String sourceClass, String sourceMethod, String msg, Object[] inserts, Throwable thrown) {

			}

			@Override
			public void warning(String sourceClass, String sourceMethod, String msg) {

			}

			@Override
			public void warning(String sourceClass, String sourceMethod, String msg, Object[] inserts) {

			}

			@Override
			public void warning(String sourceClass, String sourceMethod, String msg, Object[] inserts, Throwable thrown) {

			}

			@Override
			public void info(String sourceClass, String sourceMethod, String msg) {

			}

			@Override
			public void info(String sourceClass, String sourceMethod, String msg, Object[] inserts) {

			}

			@Override
			public void info(String sourceClass, String sourceMethod, String msg, Object[] inserts, Throwable thrown) {

			}

			@Override
			public void config(String sourceClass, String sourceMethod, String msg) {

			}

			@Override
			public void config(String sourceClass, String sourceMethod, String msg, Object[] inserts) {

			}

			@Override
			public void config(String sourceClass, String sourceMethod, String msg, Object[] inserts, Throwable thrown) {

			}

			@Override
			public void fine(String sourceClass, String sourceMethod, String msg) {

			}

			@Override
			public void fine(String sourceClass, String sourceMethod, String msg, Object[] inserts) {

			}

			@Override
			public void fine(String sourceClass, String sourceMethod, String msg, Object[] inserts, Throwable ex) {

			}

			@Override
			public void finer(String sourceClass, String sourceMethod, String msg) {

			}

			@Override
			public void finer(String sourceClass, String sourceMethod, String msg, Object[] inserts) {

			}

			@Override
			public void finer(String sourceClass, String sourceMethod, String msg, Object[] inserts, Throwable ex) {

			}

			@Override
			public void finest(String sourceClass, String sourceMethod, String msg) {

			}

			@Override
			public void finest(String sourceClass, String sourceMethod, String msg, Object[] inserts) {

			}

			@Override
			public void finest(String sourceClass, String sourceMethod, String msg, Object[] inserts, Throwable ex) {

			}

			@Override
			public void log(int level, String sourceClass, String sourceMethod, String msg, Object[] inserts, Throwable thrown) {

			}

			@Override
			public void trace(int level, String sourceClass, String sourceMethod, String msg, Object[] inserts, Throwable ex) {

			}

			@Override
			public String formatMessage(String msg, Object[] inserts) {
				return null;
			}

			@Override
			public void dumpTrace() {

			}
		};

		return logger;
	}

}